package cate.common.table.activity.weekendgift.sheet;

import cate.common.table.ESheet;
import cate.common.table.activity.weekendgift.row.WeekendGiftRow;

public class WeekendGiftSheet extends ESheet<WeekendGiftRow> {
    @Override
    public String getSheetName() {
        return "活动基础";
    }

    public WeekendGiftRow getRowByConfigIdAndDay(int configId, int day) {
        WeekendGiftRow row = null;
        for (WeekendGiftRow r :
                getList()) {
            if (r.configId == configId && r.day == day) {
                row = r;
            }
        }
        return row;
    }
}
